<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="themes/default/easyui.css" />
<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
</head>

<body>
<ul id="tt" class="easyui-tree" data-options="
        	url : 'lanmu/tree_data.asp',
            animate : true,
            onContextMenu : function(e, node){
            	e.preventDefault();
                $(this).tree('select', node.target);
                $("#mm").menu('show', {
                	left : e.pageX,
                    top : e.pageY
                });
            }
        "></ul>
        <div id="mm" class="easyui-menu" style="width:100px;">
        	<div onclick="" data-options="iconCls:icon-add">添加</div>
            <div onclick="" data-options="iconCls:icon-remove">删除</div>
        </div>
</body>
</html>
